<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>爱彩世纪</title>
    <link rel="stylesheet" type="text/css" href="./css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="./css/public.css" />
    <link rel="stylesheet" type="text/css" href="./css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="./css/fullpage.css" />
    <link rel="stylesheet" type="text/css" href="./css/custom.css" />
</head>

<body>
    <div class="box">
        <div class="rr-nav-box">
            <nav class="navbar navbar-default rr-nav-container">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
                            aria-expanded="false">
                            <span class="sr-only"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#page1">
                            <img id="rr-loooogo" src="./imgs/home/logo-w.png" class="rr-logo">
                        </a>
                    </div>
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav navbar-right nav-menu-box">
                            <li data-menuanchor="page1"><a href="#page1" id="nav-item00" class="rr-n-item nav-item f-18">首页</a></li>
                            <li data-menuanchor="page2"><a href="#page2" id="nav-item01" class="rr-n-item nav-item f-18">产品介绍</a></li>
                            <li data-menuanchor="page3"><a href="#page3" id="nav-item02" class="rr-n-item nav-item f-18">关于我们</a></li>
                            <li data-menuanchor="page4"><a href="#page4" id="nav-item03" class="rr-n-item nav-item f-18">共赢计划</a></li>
                            <li data-menuanchor="page5"><a href="#page5" id="nav-item04" class="rr-n-item nav-item f-18">合作模式</a></li>
                            <li data-menuanchor="page6"><a href="#page6" id="nav-item05" class="rr-n-item nav-item f-18">合作案例</a></li>
                        </ul>
                    </div>
                </div>
            </nav>
        </div>
        <div id="fullpage" class="container">
            <div class="section page1">
                <div class="home-container">
                    <img class="home-info" src="./imgs/home/home-title.png">
                    <!-- <img class="get-more" src="./imgs/home/get-more.png"> -->
                </div>
                <div>
                    <a class="next-page" id="nextPageTo2"></a>
                </div>
            </div>
            <div class="section page2">
                <div class="product-container flex items-center justify-between">
                    <div class="product-left">
                        <div>
                            <img src="./imgs/product/title.png">
                        </div>
                        <div id="product-text-info">
                            <p class="f-16 mt-40 c-666">
                                彩票自助销售终端可向彩民用户提供购买、兑奖、领奖等全流程自助服务，实现24小时购彩，不受时间和空间限制；通过支付宝或微信支付，省去现金支付繁琐流程，为彩民提供方便快捷的购彩体验；彩民可参加抽奖活动，赢取更多大奖。爱彩科技通过大数据、物联网、移动互联网、云计算等技术为用户提供更好用、更安全的彩票服务平台.
                            </p>
                        </div>
                        <div class="c-black f-18 mt-35">
                            <img id="product-pre-btn" src="./imgs/product/arrow-left.png">
                            <span id="product-next-nub" class="ml-5 mr-5">1/4</span>
                            <img id="product-next-btn" src="./imgs/product/arrow-right.png">
                        </div>
                    </div>
                    <div class="product-right">
                        <img id="product-img-info" src="./imgs/product/product-01.jpg">
                    </div>
                </div>

            </div>
            <div class="section page3">
                <div class="about-container">
                    <div class="about-top flex items-center justify-between">
                        <img src="./imgs/about/title.png">
                        <div class="f-16 c-white ml-40">
                            <p>
                                爱彩世纪（上海）信息科技有限公司，由朴华基金精心打造，深耕彩票行业17年，拥有专业的技术、产品、运维、营销团队；目前在北京、济南设有分公司。
                            </p>
                            <p>
                                爱彩科技成立之初，即全力组建行业最具创新最有凝聚力的团队，建立了与福彩、体彩中心的充分信任与合作伙伴关系，打造最稳定最安全的彩民购彩平台。
                            </p>
                        </div>
                    </div>
                    <div class="about-bottom">
                        <img src="./imgs/about/progress.png" style="width:100%;">
                    </div>
                </div>
            </div>
            <div class="section page4">
                <div class="plan-container">
                    <div class="plan-top flex items-center justify-between">
                        <img style="margin-left: 40px;" src="./imgs/plan/title.png">
                        <div class="info-box f-16 c-black ml-40">
                            <h4 id="plan-title">市场广袤：</h4>
                            <p id="plan-content" class=f-14">
                                -- 2018年全国彩票销售5114亿元人民币，且以每年20%的速度高速增长
                            </p>
                        </div>
                    </div>
                    <div class="plan-bottom flex items-center justify-around">
                        <img id="plan-img01" src="./imgs/plan/sel_1.png">
                        <img id="plan-img02" src="./imgs/plan/nor_2.png">
                        <img id="plan-img03" src="./imgs/plan/nor_3.png">
                        <img id="plan-img04" src="./imgs/plan/nor_4.png">
                        <img id="plan-img05" src="./imgs/plan/nor_5.png">
                        <img id="plan-img06" src="./imgs/plan/nor_6.png">
                        <img id="plan-img07" src="./imgs/plan/nor_7.png">
                        <img id="plan-img08" src="./imgs/plan/nor_8.png">
                    </div>
                </div>
            </div>
            <div class="section page5">
                <div class="model-container">
                    <img src="./imgs/model/title.png">
                    <img style="margin-top:52px;display: block;" src="./imgs/model/data-table.png">
                </div>
            </div>
            <div class="section page6">
                <div class="example-container flex items-center justify-between">
                    <img src="./imgs/example/info.png">
                    <div class="example-right">
                        <div style="display: inline-block;">
                            <img id="first-img-item" class="first-img-item" src="./imgs/example/example_1.jpg">
                            <div id="first-title-item" class="f-16 mt-15 ml-5">·活动促销</div>
                        </div>
                        <div style="display: inline-block;">
                            <img id="second-img-item" class="second-img-item" src="./imgs/example/example_2.jpg">
                            <div id="second-title-item" class="f-16 mt-15 ml-5">·办公楼宇</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</body>

<script src="./vendors/easings.min.js"></script>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src="./js/bootstrap.js"></script>
<script src="./js/vue.js"></script>
<script type="text/javascript" src="./vendors/scrolloverflow.min.js"></script>
<script type="text/javascript" src="./js/fullpage.js"></script>
<script>
    var fp;
    var proCurrentIndex = 1;
    var proTotalCount = 4;
    var proInfoList = [
        {
            "title": "<p class=\"f-16 mt-40 c-666\">彩票自助销售终端可向彩民用户提供购买、兑奖、领奖等全流程自助服务，实现24小时购彩，不受时间和空间限制；通过支付宝或微信支付，省去现金支付繁琐流程，为彩民提供方便快捷的购彩体验；彩民可参加抽奖活动，赢取更多大奖。爱彩科技通过大数据、物联网、移动互联网、云计算等技术为用户提供更好用、更安全的彩票服务平台.</p>",
            "img": "./imgs/product/product-01.jpg"
        },
        {
            "title": "<p class=\"f-18 mt-40 c-333\">用户端：</p><p class=\"f-16 mt-5 c-666\">i鲸彩用户前端，即向用户提供远程购票，现场取票的功能，又将用户引流到合作商户店内。同时丰富的娱乐内容，将大大提升商户用户的活跃度与粘性。</p>",
            "img": "./imgs/product/product-02.jpg"
        },
        {
            "title": "<p class=\"f-18 mt-40 c-333\">渠道版：</p><p class=\"f-16 mt-5 c-666\">独有的i鲸彩渠道版结合已布放的自助销售设备，将成为合作商户日常营销活动中的得力助手</p>",
            "img": "./imgs/product/product-03.jpg"
        }
        ,
        {
            "title": "<p class=\"f-18 mt-40 c-333\">巡检端：</p><p class=\"f-16 mt-5 c-666\">智能化的自助设备巡检端将更加高效的辅助巡检人员对设备进行管理，让布放在合作商户店中的设备时刻保持高效的运转状态。</p>",
            "img": "./imgs/product/product-04.jpg"
        }
    ];

    var planCurrentIndex = 1;
    var planTotalCount = 8;
    var planInfoList = [
        {
            "title": "市场广袤：",
            "content": "<p>2018年全国彩票销售5114亿元人民币，且以每年20%的速度高速增长</p>"
        }, {
            "title": "合法合规：",
            "content": "<p>与国家、省体彩中心签署授权协议，合法合规销售国家统一发行的彩票</p>"
        }, {
            "title": "智能购彩：",
            "content": "<p>打造彩票新零售，实现24小时自助销售，用户购彩、兑奖、领奖全流程自助操作</p>"
        }, {
            "title": "丰富的营销活动：",
            "content": "<p>用户不但可以自助购彩，还能定期参与各类营销活动，赢取更多奖励</p>"
        }, {
            "title": "可观的售彩佣金：",
            "content": "<p>提供业内有竞争力的售彩佣金，具体依据各省市彩票中心政策略有调整</p>"
        }, {
            "title": "完善的后台管理系统和服务体系：",
            "content": "<p>便捷的查询、操作、提现、结算等后台支撑功能，7x24小时客服，设备全天候维护支持</p>"
        }, {
            "title": "政策扶持：",
            "content": "<p>①免交加盟费，活动期间免除；<br />②设备采购补助，出厂价N的设备，活动期间公司补助设备价格20%；<br />③渠道合作奖励，经体彩中心审核通过后门店开设奖励X元/店；<br />④独家运营保护，对一地市一次性采购500台设备的，给予3个月独家运营保护；<br />⑤终身培训、技术支持，保障合作方尽快熟悉产品与市场</p>"
        }, {
            "title": "多重盈利点可期：",
            "content": "<p>广告收入（广告联盟，收益保证）、增值服务（引流等收入）</p>"
        }
    ]
    
    var exampleCurrentIndex = 1;
    var exampleInfoList = [
        {
            "title":"·活动促销",
            "img":"./imgs/example/example_1.jpg"
        },{
            "title":"·办公楼宇",
            "img":"./imgs/example/example_2.jpg"
        },
    ]
    window.onload = function () {
        //激活首页
        var el = document.getElementById('nav-item00');
        el.focus();
    }
    fp = new fullpage('#fullpage', {
        navigation: true,
        scrollHorizontally: true,
        anchors: ['page1', 'page2', 'page3', 'page4', 'page5', 'page6'],
        //离开某个节点
        onLeave: function (origin, destination, direction) {
            console.log("加载的位置：" + origin.index + "=====:" + JSON.stringify(destination) + "=====:" + destination.index + "=====:" + direction)
            var elId = 'nav-item0' + destination.index;
            var el = document.getElementById(elId);
            el.focus();

            if (destination.index % 2 == 0) {
                $(document).ready(function () {
                    $("#rr-loooogo").attr("src", "./imgs/home/logo-w.png");
                    $(".rr-n-item").removeClass("nav-item-01");
                    $(".rr-n-item").addClass("nav-item");
                });
            } else {
                $(document).ready(function () {
                    $("#rr-loooogo").attr("src", "./imgs/product/logo-b.png");
                    $(".rr-n-item").removeClass("nav-item");
                    $(".rr-n-item").addClass("nav-item-01");
                });
            }
        }
    });
    document.querySelector('#nextPageTo2').addEventListener('click', function (e) {
        e.preventDefault();
        fullpage_api.moveSectionDown();
    });
    document.querySelector('#product-pre-btn').addEventListener('click', function (e) {
        e.preventDefault();
        if (proCurrentIndex != 1) {
            proCurrentIndex -= 1;
            var proItem = proInfoList[proCurrentIndex - 1];
            $("#product-text-info").html(proItem.title);
            $("#product-next-nub").text(proCurrentIndex + "/" + proTotalCount);
            $("#product-img-info").attr("src", proItem.img);
        }

    });
    document.querySelector('#product-next-btn').addEventListener('click', function (e) {
        e.preventDefault();
        if (proCurrentIndex != 4) {
            proCurrentIndex += 1;
            var proItem = proInfoList[proCurrentIndex - 1];
            $("#product-text-info").html(proItem.title);
            $("#product-next-nub").text(proCurrentIndex + "/" + proTotalCount);
            $("#product-img-info").attr("src", proItem.img);
        }
    });

    function configPlanInfo(prePlanIndex, curPlanIndex) {
        var preIndexId = "#plan-img0" + prePlanIndex;
        var preImgUrl = "./imgs/plan/nor_" + prePlanIndex + ".png";
        $(preIndexId).attr("src", preImgUrl);
        planCurrentIndex = curPlanIndex;
        var curIndexId = "#plan-img0" + curPlanIndex;
        var curImgUrl = "./imgs/plan/sel_" + curPlanIndex + ".png";
        var planItem = planInfoList[planCurrentIndex - 1];
        $(curIndexId).attr("src", curImgUrl);
        $("#plan-title").text(planItem.title);
        $("#plan-content").html(planItem.content);
    }

    document.querySelector('#plan-img01').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 1) {
            configPlanInfo(planCurrentIndex, 1);
        }
    });
    document.querySelector('#plan-img02').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 2) {
            configPlanInfo(planCurrentIndex, 2);
        }
    });
    document.querySelector('#plan-img03').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 3) {
            configPlanInfo(planCurrentIndex, 3);
        }
    });
    document.querySelector('#plan-img04').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 4) {
            configPlanInfo(planCurrentIndex, 4);
        }
    });
    document.querySelector('#plan-img05').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 5) {
            configPlanInfo(planCurrentIndex, 5);
        }
    });
    document.querySelector('#plan-img06').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 6) {
            configPlanInfo(planCurrentIndex, 6);
        }
    });
    document.querySelector('#plan-img07').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 7) {
            configPlanInfo(planCurrentIndex, 7);
        }
    });
    document.querySelector('#plan-img08').addEventListener('click', function (e) {
        e.preventDefault();
        if (planCurrentIndex != 8) {
            configPlanInfo(planCurrentIndex, 8);
        }
    });
    document.querySelector('#plan-img08').addEventListener('click', function (e) {
        e.preventDefault();

    });
    document.querySelector('#second-img-item').addEventListener('click', function (e) {
        e.preventDefault();
        if(planCurrentIndex == 1) {
            planCurrentIndex = 2;
            curItem = exampleInfoList[1];
            nexItem= exampleInfoList[0];
            $("#first-img-item").attr("src", curItem.img);
            $("#first-title-item").text(curItem.title);
            $("#second-img-item").attr("src", nexItem.img);
            $("#second-title-item").text(nexItem.title);
        }else{
            planCurrentIndex = 1;
            curItem = exampleInfoList[0];
            nexItem= exampleInfoList[1];
            $("#first-img-item").attr("src", curItem.img);
            $("#first-title-item").text(curItem.title);
            $("#second-img-item").attr("src", nexItem.img);
            $("#second-title-item").text(nexItem.title);
        }
    });

</script>

</html>